jQuery(document).ready(function (){
    var playerInstance = 
    jwplayer('playerRwOvTCtqixtC').setup({
        file: Drupal.settings.movie_data_path,
        image: '//www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
        title: 'Sigma',
        width: '100%',
        aspectratio: '16:9'
    });
    playerInstance.onReady(function() {
        console.log('ready');
        jQuery('.jwlogo').remove();
        playerInstance.onPlay(function() {
            console.log('playing');
        });

//        playerInstance.play();
    });
    
});
